package com.oolee.cloud.general;

import lombok.Data;


public enum ResponseType {
    SUCCESS(200,"请求成功"),
    FAIL(000,"请求失败");

    private int code;
    private String msg;

    ResponseType(){

    }

    ResponseType(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode(){
        return this.code;
    }

    public String getMsg(){
        return this.msg;
    }

}
